<div class="blade-content __medium-wide" id="blade-content">
    <div class="blade-inner">
        <div class="inner-block">
            <div class="table-wrapper">
                <table class="table">
                    <thead>
                        <tr>
                            <th class="table-col">序号</th>
                            <th class="table-col">风场名称</th>
                            <th class="table-col">报警类别</th> 
                            <th class="table-col">是否报警</th> 
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="table-item __selected"  *ngFor="let item of userfarmAlarmconfigData; let i =index" [ngClass]="{'__selected': currentEntity?.alarmConfigId == item.alarmConfigId}"  >
                            <td class="table-col" >
                                 {{ i+1 }}
                            </td>
                            <td class="table-col " (click)="onSeletedChange(item)">
                                 {{ item?.farmName }}
                            </td>
                            <td class="table-col " (click)="onSeletedChange(item)">
                                 {{ item?.alarmCategoryName }}
                            </td>   
                            <td class="table-col " (click)="onSeletedChange(item)">
                                 {{ item?.unAlarm?"✔":"×" }}
                            </td>    
                            <!-- <td class="table-col " (click)="onSeletedChange(item)">
                              <label class="form-label __switch">
                                  <input type="checkbox" [checked]="item?.unAlarm" class="ng-pristine ng-untouched ng-valid">
                                  <span class="switch"></span>
                              </label>
                            </td>  -->                               
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>  
